package com.macro.mall.mapper;

import com.macro.mall.model.SmsParkingCoupon;
import com.macro.mall.model.SmsParkingCouponExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmsParkingCouponMapper {
    long countByExample(SmsParkingCouponExample example);

    int deleteByExample(SmsParkingCouponExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsParkingCoupon record);

    int insertSelective(SmsParkingCoupon record);

    List<SmsParkingCoupon> selectByExample(SmsParkingCouponExample example);

    SmsParkingCoupon selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsParkingCoupon record, @Param("example") SmsParkingCouponExample example);

    int updateByExample(@Param("record") SmsParkingCoupon record, @Param("example") SmsParkingCouponExample example);

    int updateByPrimaryKeySelective(SmsParkingCoupon record);

    int updateByPrimaryKey(SmsParkingCoupon record);
}